package com.wuchao.spring.single.innerclass;

import org.omg.CORBA.PUBLIC_MEMBER;

/**
 * @Author wuchao66
 * @Date 2023/10/13 14:09
 * @PackageName:com.wuchao.spring.single.innerclass
 * @ClassName: InnerClass
 * @Description: TODO
 * @Param
 * @Version 1.0
 */
public class InnerClass {//内部静态类
  private   InnerClass(){

    }
    private static class Inner{
        private static InnerClass innerClass=new InnerClass();
    }
    private static InnerClass getInstance(){
        return Inner.innerClass;
    }
}
